package com.leadnews.mapper;

import com.leadnews.pojo.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author 自己
* @description 针对表【order】的数据库操作Mapper
* @createDate 2023-02-19 19:25:40
* @Entity com.leadnews.pojo.Order
*/
public interface OrderMapper extends BaseMapper<Order> {
@Select("insert into " +
        "'order'" +
        " (user_id,status,create_time,order_type,qq1,phone,classfiy1,time1,money1,content,title1)  VALUES" +
        "(#{userId},#{status},#{createTime},#{type},#{qq},#{phone},#{classfiy},#{time},#{money},#{content},#{title})")
    int inserByorder(@Param("userId") String userId,@Param("classfiy") String classfiy,@Param("content") String content, @Param("createTime")String createTime, @Param("money")String money,@Param("phone") String phone,@Param("qq") String qq,@Param("status") String status,@Param("time") String time,@Param("type") String type,@Param("title") String title);

}




